<template>
  <div class="item" data-type="textarea" v-bind:class="[('w'+obj.property.selfWidth)]">
    <div class="hd" v-bind:class="[('i'+obj.property.titleWidth+'d6')]">
      <label class="tit">{{obj.property.title}}</label>
      <span class="required" v-show="obj.property.required">*</span>
      <span class="block muted">{{obj.property.intro}}</span>
      <v-handle v-bind:handle="obj.handle"></v-handle>
    </div>
    <div class="bd" v-bind:class="[('i'+(obj.property.titleWidth==6?6:6-obj.property.titleWidth)+'d6')]">
      <el-input type="textarea":rows="2" :placeholder="obj.property.placeholder" v-model="obj.value"></el-input>
    </div>
  </div>
</template>

<script>
export default {
  props: ['obj']
}
</script>
